<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="stylesheet" href="../../../style.css" type="text/css" media="screen">
<link rel="stylesheet" href="../../../print.css" type="text/css" media="print">
<meta content="ZipEntry,nochump.util.zip.ZipEntry,comment,compressedSize,crc,extra,method,name,size,time,isDirectory,toString" name="keywords">
<title>nochump.util.zip.ZipEntry</title>
</head>
<body>
<script type="text/javascript" language="javascript" src="../../../asdoc.js"></script><script type="text/javascript" language="javascript" src="../../../cookies.js"></script><script type="text/javascript" language="javascript">
<!--
				asdocTitle = 'ZipEntry - Papervision3D 3dcnapi文档';
				var baseRef = '../../../';
				window.onload = configPage;
			--></script>
<table style="display:none" id="titleTable" cellspacing="0" cellpadding="0" class="titleTable">
<tr>
<td align="left" class="titleTableTitle">Papervision3D 3dcnapi文档</td><td align="right" class="titleTableTopNav"><a onclick="loadClassListFrame('../../../all-classes.html')" href="../../../package-summary.html">全部包</a>&nbsp;|&nbsp;<a onclick="loadClassListFrame('../../../all-classes.html')" href="../../../class-summary.html">全部类</a>&nbsp;|&nbsp;<a onclick="loadClassListFrame('../../../index-list.html')" href="../../../all-index-A.html">引索</a>&nbsp;|&nbsp;<a href="../../../index.html?nochump/util/zip/ZipEntry.html&amp;nochump/util/zip/class-list.html" id="framesLink1">框架</a><a onclick="parent.location=document.location" href="" style="display:none" id="noFramesLink1">无框架</a></td><td rowspan="3" align="right" class="titleTableLogo"><img alt="3dcnapi Logo" title="3dcnapi Logo" class="logoImage" src="../../../images/logo.jpg"></td>
</tr>
<tr class="titleTableRow2">
<td align="left" id="subTitle" class="titleTableSubTitle">类&nbsp;ZipEntry</td><td align="right" id="subNav" class="titleTableSubNav"><a href="#propertySummary">属性</a>&nbsp;| <a href="#methodSummary">方法</a></td>
</tr>
<tr class="titleTableRow3">
<td colspan="2">&nbsp;</td>
</tr>
</table>
<script type="text/javascript" language="javascript">
<!--
if (!isEclipse() || window.name != ECLIPSE_FRAME_NAME) {titleBar_setSubTitle("类 ZipEntry"); titleBar_setSubNav(false,true,false,false,false,false,true,false,false,false,false,false,false,false);}
--></script>
<div class="MainContent">
<table cellspacing="0" cellpadding="0" class="classHeaderTable">
<tr>
<td class="classHeaderTableLabel">包</td><td><a onclick="javascript:loadClassListFrame('class-list.html')" href="package-detail.html">nochump.util.zip</a></td>
</tr>
<tr>
<td class="classHeaderTableLabel">类</td><td class="classSignature">public class ZipEntry</td>
</tr>
</table>
<p></p>
  <p>This class represents a member of a zip archive.  ZipFile
    will give you instances of this class as information
    about the members in an archive.  On the other hand ZipOutput
    needs an instance of this class to create a new member. </p>
  <p>此类用于表示 ZIP 文件条目。ZipFile会给你这个类的实例作为有关这个存档的成员信息.另一方面ZipOutput需求的一个类的实例创建一个新的成员.</p>
<p></p>
<br>
<hr>
</div>
<a name="propertySummary"></a>
<div class="summarySection">
<div class="summaryTableTitle">公共属性</div>
<table id="summaryTableProperty" class="summaryTable " cellpadding="3" cellspacing="0">
<tr>
<th>&nbsp;</th><th colspan="2">属性</th><th colspan="2">定义方</th>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#comment">comment</a> : String<div class="summaryTableDescription">
   Gets the extra data.返回条目的注释字符串.</div>
</td><td class="summaryTableOwnerCol">ZipEntry</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#compressedSize">compressedSize</a> : int<div class="summaryTableDescription">
   Gets the size of the compressed data.返回压缩条目数据的大小.</div>
</td><td class="summaryTableOwnerCol">ZipEntry</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#crc">crc</a> : uint<div class="summaryTableDescription">
   Gets the crc of the uncompressed data.返回未压缩条目数据的 CRC-32 校验和.</div>
</td><td class="summaryTableOwnerCol">ZipEntry</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#extra">extra</a> : ByteArray<div class="summaryTableDescription">
   Gets the extra data.返回条目的额外字段数据.</div>
</td><td class="summaryTableOwnerCol">ZipEntry</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#method">method</a> : int<div class="summaryTableDescription">
   Gets the compression method.返回条目的压缩方法.</div>
</td><td class="summaryTableOwnerCol">ZipEntry</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#name">name</a> : String<div class="summaryTableDescription">[只读]
   Returns the entry name.返回条目名称.</div>
</td><td class="summaryTableOwnerCol">ZipEntry</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#size">size</a> : int<div class="summaryTableDescription">
   Gets the size of the uncompressed data.返回未压缩条目数据的大小.</div>
</td><td class="summaryTableOwnerCol">ZipEntry</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#time">time</a> : Number<div class="summaryTableDescription">
   Gets the time of last modification of the entry.返回条目的修改时间.</div>
</td><td class="summaryTableOwnerCol">ZipEntry</td>
</tr>
</table>
</div>
<a name="methodSummary"></a>
<div class="summarySection">
<div class="summaryTableTitle">公共方法</div>
<table id="summaryTableMethod" class="summaryTable " cellpadding="3" cellspacing="0">
<tr>
<th>&nbsp;</th><th colspan="2">方法</th><th colspan="2">定义方</th>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#ZipEntry()">ZipEntry</a>(name:String)</div>
<div class="summaryTableDescription">
   Creates a zip entry with the given name.使用指定名称创建新的 ZIP 条目.</div>
</td><td class="summaryTableOwnerCol">ZipEntry</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#isDirectory()">isDirectory</a>():Boolean</div>
<div class="summaryTableDescription">
   Gets true, if the entry is a directory.如果为目录条目，则返回 true.</div>
</td><td class="summaryTableOwnerCol">ZipEntry</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#toString()">toString</a>():String</div>
<div class="summaryTableDescription">
   Gets the string representation of this ZipEntry.返回 ZIP 条目的字符串表示形式.</div>
</td><td class="summaryTableOwnerCol">ZipEntry</td>
</tr>
</table>
</div>
<script type="text/javascript" language="javascript">
<!--
showHideInherited();
--></script>
<div class="MainContent">
<a name="propertyDetail"></a>
<div class="detailSectionHeader">属性详细信息</div>
<a name="comment"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">comment</td><td class="detailHeaderType">属性</td>
</tr>
</table>
<div class="detailBody">
<code>comment:String</code>&nbsp;&nbsp;[读写]<p>
   Gets the extra data.
     <span class="summaryTableDescription">返回条目的注释字符串</span>.</p>
<span class="label">实现</span>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function get comment():String</code>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function set comment(value:String):void</code>
<br>
</div>
<a name="compressedSize"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">compressedSize</td><td class="detailHeaderType">属性</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>compressedSize:int</code>&nbsp;&nbsp;[读写]<p>
   Gets the size of the compressed data.
   返回压缩条目数据的大小.</p><span class="label">实现</span>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function get compressedSize():int</code>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function set compressedSize(value:int):void</code>
<br>
</div>
<a name="crc"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">crc</td><td class="detailHeaderType">属性</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>crc:uint</code>&nbsp;&nbsp;[读写]<p>
   Gets the crc of the uncompressed data.
   返回未压缩条目数据的 CRC-32 校验和；</p><span class="label">实现</span>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function get crc():uint</code>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function set crc(value:uint):void</code>
<br>
</div>
<a name="extra"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">extra</td><td class="detailHeaderType">属性</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>extra:ByteArray</code>&nbsp;&nbsp;[读写]<p>
   Gets the extra data.
   返回条目的额外字段数据</p><span class="label">实现</span>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function get extra():ByteArray</code>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function set extra(value:ByteArray):void</code>
<br>
</div>
<a name="method"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">method</td><td class="detailHeaderType">属性</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>method:int</code>&nbsp;&nbsp;[读写]<p>
   Gets the compression method. 
     <span class="summaryTableDescription">返回压缩条目数据的大小。</span></p>
<span class="label">实现</span>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function get method():int</code>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function set method(value:int):void</code>
<br>
</div>
<a name="name"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">name</td><td class="detailHeaderType">属性</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>name:String</code>&nbsp;&nbsp;[只读]<p>
   Returns the entry name.  The path components in the entry are
   always separated by slashes ('/').  
   </p>
<p>返回条目名称,在条目中的路径组件使用'/'分割。</p>
<span class="label">实现</span>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function get name():String</code>
<br>
</div>
<a name="size"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">size</td><td class="detailHeaderType">属性</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>size:int</code>&nbsp;&nbsp;[读写]<p>
   Gets the size of the uncompressed data.
     <span class="summaryTableDescription">返回未压缩条目数据的大小。</span></p>
<span class="label">实现</span>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function get size():int</code>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function set size(value:int):void</code>
<br>
</div>
<a name="time"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">time</td><td class="detailHeaderType">属性</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>time:Number</code>&nbsp;&nbsp;[读写]<p>
   Gets the time of last modification of the entry.
     <span class="summaryTableDescription">返回条目的修改时间。</span></p>
<span class="label">实现</span>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function get time():Number</code>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function set time(value:Number):void</code>
<br>
</div>
<a name="constructorDetail"></a>
<div class="detailSectionHeader">构造函数详细信息</div>
<a name="ZipEntry()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">ZipEntry</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">构造函数</td>
</tr>
</table>
<div class="detailBody">
<code>public function ZipEntry(name:String)</code><p>
   Creates a zip entry with the given name.
   使用指定名称创建新的 ZIP 条目。 </p><span class="label">参数</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><code><span class="label">name</span>:String</code> &mdash; the name. May include directory components separated
   by '/'.
   </td>
</tr>
</table>
name可能包含通过'/'分割的目录组件.</div>
<a name="methodDetail"></a>
<div class="detailSectionHeader">方法详细信息</div>
<a name="isDirectory()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">isDirectory</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">方法</td>
</tr>
</table>
<div class="detailBody">
<code>public function isDirectory():Boolean</code><p>
   Gets true, if the entry is a directory.  This is solely
   determined by the name, a trailing slash '/' marks a directory.  
   </p><p>如果为目录条目，则返回 true。目录条目定义为其名称以 '/' 结尾的条目。</p>
<span class="label">返回</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20"></td><td><code>Boolean</code></td>
</tr>
</table>
</div>
<a name="toString()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">toString</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">方法</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public function toString():String</code><p>
   Gets the string representation of this ZipEntry.  This is just
   the name as returned by name.
   </p>
<p>返回 ZIP 条目的字符串表示形式。通过name返回.</p>
<span class="label">返回</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20"></td><td><code>String</code></td>
</tr>
</table>
</div>
<br>
<br>
<hr>
<br>
<p></p>
<center class="copyright">http://blog.papervision3d.org</center>
</div>
</body>
</html>
<!--http://blog.papervision3d.org-->
